package com.hunan.api.catv.entity.dto;

import lombok.Data;

/**
 * @author jiang zhuan
 * @version 1.0
 * @description 描述
 * @date 2021/11/15 0015
 * @package com.hunan.api.catv.entity.dto
 * @company 湖南有线
 */
@Data
public class ExternalPushDTO {

    /**
     * 标题
     */
    private String titie;
    /**
     * 内容
     */
    private String content;
    /**
     * 推送用户id
     */
    private Integer memberId;
    /**
     * 跳转类型0:仅打开应用 1:APP链接 2:外部链接 默
     * 认0
     */
    private Integer type;
    /**
     * 跳转链接
     */
    private String links;

    /**
     * 推送类型 0：通知栏 1：应用内消息 默认0
     */
    private Integer destination;

    /**
     * 扩展消息
     */
    private String extra;

    @Override
    public String toString() {
        return "ExternalPushDTO{" +
                "titie='" + titie + '\'' +
                ", content='" + content + '\'' +
                ", memberId=" + memberId +
                ", type=" + type +
                ", links='" + links + '\'' +
                ", destination=" + destination +
                ", extra='" + extra + '\'' +
                '}';
    }
}
